package com.jxbeidou.system.log.convert;

import com.jxbeidou.system.log.entity.LogLoginDO;
import com.jxbeidou.system.api.log.vo.LogLoginVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 登录日志
*
* @author 杜晓祥 
* @since 1.0.0 2023-12-14
*/
@Mapper
public interface LogLoginConvert {
    LogLoginConvert INSTANCE = Mappers.getMapper(LogLoginConvert.class);

    LogLoginDO convert(LogLoginVO vo);

    LogLoginVO convert(LogLoginDO entity);

    List<LogLoginVO> convertList(List<LogLoginDO> list);

}